<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="card-header"><b>讲师相关</b></div>
<div class="card-content" th:if="${#lists.isEmpty(dataList)}">
    <div class="card-content-inner">
        <section class="no-data__wrap">
            <em>&nbsp;</em>
            <p>暂无相关搜索数据，小编正在整理中</p>
        </section>
    </div>
</div>
<div class="card-content" th:if="!${#lists.isEmpty(dataList)}">
    <div class="card-content-inner">
        <div class="mb5" th:if="!${#lists.isEmpty(dataList)}" th:each="teacher : ${dataList}">
            <a th:href="@{/mobile/teacher/teacherInfo?teacherId={teacherId}(teacherId=${teacher['id']})}">
                <section class="item-title">
                    <span th:if="${teacher['isQuestion']==1}" class="wm-cm-title course-id">[问答专家]</span>
                    <span class="wm-cm-title course-id" th:text="${teacher['teacherName']}"></span>
                    <div class="wm-attr-wrap row" th:if="${teacher['isQuestion']==1}">
                        <aside class="col-auto">
                            <span class="wm-txt-small c-bbb" th:text="'学生数：' + ${teacher['userNum']}"></span>
                        </aside>
                        <aside class="col-auto">
                            <span class="wm-txt-small c-bbb" th:text="'问题数：' + ${teacher['questionNum']}"></span>
                        </aside>
                    </div>
                    <div class="wm-attr-wrap row" th:if="${teacher['isQuestion']==0}">
                        <aside class="col-auto">
                            <span class="wm-txt-small c-bbb" th:text="'课程数：' + ${teacher['courseNum']}"></span>
                        </aside>
                    </div>
                </section>
            </a>
        </div>
    </div>
</div>
<div class="card-footer" th:if="!${#lists.isEmpty(dataList)}" th:text="'共'+${#lists.size(dataList)}+'条结果'"></div>
</html>